package com.sokal.easycare.modules.order.dao.track;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.sokal.easycare.common.persistence.CrudDao;
import com.sokal.easycare.common.persistence.annotation.MyBatisDao;
import com.sokal.easycare.modules.order.entity.track.OmOrderTrack;

/**
 * 订单跟踪记录DAO接口
 * 
 * @author nibo
 * @version 2017-03-17
 */
@MyBatisDao
public interface OmOrderTrackDao extends CrudDao<OmOrderTrack> {

	public List<OmOrderTrack> findByOrderCode(String orderCode);
	

	public void deleteCommodity(OmOrderTrack omOrderTrack);

	public void deleteWorkOrderItemByWorkId(@Param("workId") String workId);

	public List<String> selectOrderItem(@Param("workId") String workId);

	public void insertWorkOrderItem(Map<String, String> param);
	public void insertWorkMsg(Map<String, String> param);
	public List<Map<String,String>> selectWorkmsg(@Param("workId") String workId);
}